#include "connection.hpp"


Connection::Connection()
{
}
Connection::~Connection()
{
}
// Creates a connection
int Connection::create(
       const  std::string &IP, unsigned port)
{
    return 1;
}
// Joins a connection
int Connection::join(
        const std::string &IP, unsigned port)
{
    return 1;
}
// Send a message to a connection
// returns 0 on success
int Connection::send(std::map<std::string,std::string>& msg)
{
    return 1;
}
// Recieve a message to a connection
// returns 0 on success
// This blocks until a message is recieved
int Connection::recieve(std::map<std::string,std::string>& msg)
{
    return 1;
}
